/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net;
import java.util.*;

/**
 *
 * @author antonio
 */
public class AccessPoint {

    private String mac;
    private Vector signal = new Vector();
    private String totalSignal;

    public void setMac(String mac)
    {
        this.mac = mac;
    }

    public void setSignal(String signal)
    {
        StringTokenizer tokenizerSignal = new StringTokenizer(signal, " ");

        for(int i=0; tokenizerSignal.hasMoreTokens(); i++)
        {
            this.signal.add(i, tokenizerSignal.nextToken());
        }
    }

    public void setTotalSignal(String totalSignal)
    {
        this.totalSignal = totalSignal;
    }

    public String getMac()
    {
        return this.mac;
    }

    public Vector getSignal()
    {
        return this.signal;
    }

    public String getTotalSignal()
    {
        return this.totalSignal;
    }
}

